package com.springup.trade.service;

import com.springup.trade.entity.Transaction;

import java.util.List;

public interface TransactionService {
    public Transaction inputBuy(Transaction transaction);

    public Transaction updateBuy(Transaction transaction);

    public Transaction cancelBuy(Transaction transaction);

    public Transaction outputSell(Transaction transaction);

    public Transaction updateSell(Transaction transaction);

    public Transaction cancelSell(Transaction transaction);

    public List<Transaction> queryTransactionList(Transaction transaction);
}
